package com.ftg.product.exam.vo;

import com.diboot.core.binding.annotation.*;
import com.ftg.product.exam.entity.ExamOptions;
import com.ftg.product.exam.entity.ExamSelect;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

/**
* 用来存储选择题，相应的选项，比如ABCDE等相应的选项 DetailVO定义
* @author kangjx
* @version 1.0
* @date 2021-01-14
 * Copyright © ftg
*/
@Getter @Setter @Accessors(chain = true)
public class ExamOptionsDetailVO extends ExamOptions  {
    private static final long serialVersionUID = 8970456902151280699L;

    /**
    * 关联字段：ExamSelect.title
    */
    @BindField(entity = ExamSelect.class, field = "title", condition = "this.selcode=id")
    private String selcodeTitle;

}